<div class="container-fluid" style="margin: 0px 15px 0px 15px;">
<ol class="breadcrumb">
  <li><a href="<?php echo base_url('/index.php/inicio');?>">Início</a></li>
  <li><a href="<?php echo base_url('index.php/inicio/atendimento');?>">Atendimento</a></li>
  <li class="active">Relatorio</li>
</ol>
	<fieldset class="cad">
		<legend>Relatório de Atendimentos</legend>
		<form class="form-horizontal" role="form" id="form" action="<?php echo base_url('index.php/inicio/relatorioatendimento');?>" method="POST" target="_blank">
			<div class="form-group">
				<label for="inputEmail3" class="col-sm-2 control-label">Tipo Ligacao</label>
				<div class="col-sm-2">
					<select name="tipoligacao" id="tipoligacao" class="form-control input-sm">
						<option value="999">TODOS</option>
						<option value="1">LOCAL</option>
						<option value="2">INTERURBANO</option>
					</select>
				</div>
			</div>
			 <div class="form-group">
				<label for="inputPassword3" class="col-sm-2 control-label">Data início</label>
				<div class="col-sm-2">
				<?php 
					$data = array('name'=> 'inicio','id'=> 'inicio','value'=>'','placeholder'=> 'Data Início','class'=> 'form-control input-sm');
					echo form_input($data);
				?>
				</div>
				</div>
				<div class="form-group">
				<label for="inputPassword3" class="col-sm-2 control-label">Data Fim</label>
				<div class="col-sm-2">
				<?php 
					$data = array('name'=> 'fim','id'=> 'fim','value'=> set_value('dia'),'placeholder'=> 'Data Fim','class'=> 'form-control input-sm');
					echo form_input($data);
				?>
				</div>
				</div>
			<div class="form-group">
			<label for="" class="col-sm-2 control-label">Telefonista</label>
			<div class="col-sm-4">
				<?php 
					echo form_dropdown('usuario',$usuario,'','class="form-control input-sm" id="usuario"');
				?>
			</div>
			<div class="col-sm-2 control-label" style="text-align:left;color:red;">
			<?php echo form_error('secretaria');?>	
			</div>	
		</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
				<?php 
					$data = array('name'=>'salvar','type' => 'submit','class' => 'btn btn-primary','content' =>'Gerar PDF');
					echo form_button($data);
				?>
				<a id="cancelar" href="<?php echo base_url('index.php/ramais/consulta');?>" class="btn btn-default"></span>Cancelar</a>
				</div>
			</div>
		</form>
		
	</fieldset>

</div>
<script language="javascript" type="text/javascript">
		$(document).ready(function(){
			$("#inicio").datepicker({dateFormat: "dd/mm/yy"});
			$("#fim").datepicker({dateFormat: "dd/mm/yy"});
		});
</script>
</body>
</html>